const mongoose = require("mongoose")
const Schema = mongoose.Schema

//给集合进行限制
const PropType = {
    propname:String,
    propnumber:Number,
    propemail:String,
    building:String,
    roomnumber:String, 
    roomarea:Number

}
const PropModel = mongoose.model("prop",new Schema(PropType))

module.exports = PropModel